package com.lagou.edu.service;

import com.lagou.edu.pojo.Resume;

import java.util.List;


public interface ResumeService {
    /**
     * 根据手机号查找
     * @param phone
     * @return
     */
    List<Resume> findByPhone(String phone);

    List<Resume> findAll();

    Resume findByOne(Resume resume);

    Resume findById(Long id);

    Resume save(Resume resume);

    boolean deleteById(Long id);

    boolean deleteOne(Resume resume);

    boolean deleteAll(Resume resume);
}
